package com.zhanghu.decorator;

/**
 * @Author: zhanghu
 * @Description: 装饰器测试类
 * @Date: Create in 16:51 2020/1/19
 * @modified by:
 */
public class DecoratorTest {
    public static void main(String[] args) {
        Computer dellComputer = new DellComputer();
        Computer computer = new DecoratorComputer(dellComputer);
        computer.mouse();
    }
}
